package com.motong.gongdan.vo.system.BOM.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel("设备列表返回值")
@Data
public class BOMListVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "父产品编号")
    private String parentProductCode;

    @ApiModelProperty(value = "父产品名称")
    private String parentProductName;

    @ApiModelProperty(value = "父产品规格")
    private String parentProductSpecification;

    @ApiModelProperty(value = "父单位")
    private String parentProductUnitName;

    @ApiModelProperty(value = "子产品编号")
    private String childProductCode;

    @ApiModelProperty(value = "子产品id")
    private Integer childProductId;

    @ApiModelProperty(value = "子产品名称")
    private String childProductName;

    @ApiModelProperty(value = "子产品规格")
    private String childProductSpecification;

    @ApiModelProperty(value = "子单位")
    private String childProductUnitName;

    @ApiModelProperty(value = "单位用量")
    private BigDecimal unitUsage;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateUserName;
}
